package n20_enum;

/**
 * @author fu
 * @date 2022-01-25 20:24
 * 概要：
 * ---------------------------------------------------------------
 * |                                                              |
 * |                  |
 * |                                                             |
 * |=============================================================
 */
public enum Singleton {

    INSTANCE;

}


enum Singleton2 {

    INSTANCE1(2),INSTANCE2(3);

    private int price;

    Singleton2(int p){
        price = p;
    }
}
